package com.share51.admin.constant;

public final class MenuConstant {

    public enum MenuChecked {
        MODULAR(0, "选中 "), PAGE(1, "未选中");
        private int code;
        private String msg;

        MenuChecked(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

    public enum MenuType {
        MODULAR(1, "模块 "), PAGE(2, "页面"), BUTTON(3, "菜单");
        private int code;
        private String msg;

        MenuType(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

    public enum MenuStatus {
        NORMAL(0, "正常"), DELETE(1, "删除");

        private int code;
        private String msg;

        MenuStatus(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }
}
